{% extends 'base.html'%}

{% block content %}
{% if user.is_authenticated %}
hello!!!!  welcome user: {{user}}
{%endif%}
<p>Welcome to read News ,you can find {{s.stock_name}} news here</p>
<!-- {{rated}}

{{rated.5}}-->
{{s.stock_name}}

{%for n in news%}
        <p>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/users/news/{{s.stock_name}}/{{n.id}}/">{{ n.date }}</a></p>



{%endfor%}

{%endblock%}

